package com.zlc.common.core.resource.model.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zlc.common.common.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * @author  zl
* @date 2023-05-08
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName(value = "mayan_plat_system_resource")
public class MayanPlatSystemResource extends BaseEntity implements Serializable {
	private static final long serialVersionUID = 0L;
	/**
	 * 资源ID
	 */@TableField(value="resource_id_")
	private String resourceId;

	/**
	 * 父资源ID
	 */@TableField(value="parent_resource_id_")
	private String parentResourceId;

	/**
	 * 系统标识
	 */@TableField(value="system_code_")
	private String systemCode;

	/**
	 * 资源类别 WEB|APP
	 */@TableField(value="resource_category_")
	private String resourceCategory;

	/**
	 * 资源类型 MENU|GROUP|SUBMENU
	 */@TableField(value="resource_type_")
	private String resourceType;

	/**
	 * 资源code
	 */@TableField(value="resource_code_")
	private String resourceCode;

	/**
	 * 资源名称
	 */@TableField(value="resource_name_")
	private String resourceName;

	/**
	 * 半路径地址
	 */@TableField(value="url_path_")
	private String urlPath;

	/**
	 * 图标
	 */@TableField(value="icon_")
	private String icon;

	/**
	 * 是否是叶子节点资源
	 */
	@TableField(value="leaf_flag_")
	private String leafFlag;

	/**
	 * 排序
	 */@TableField(value="order_")
	private Integer order;

	/**
	 * 备注
	 */@TableField(value="remark_")
	private String remark;

	public String getResourceId() {
		return resourceId;
	}

	public void setResourceId(String resourceId) {
		this.resourceId = resourceId;
	}

	public String getParentResourceId() {
		return parentResourceId;
	}

	public void setParentResourceId(String parentResourceId) {
		this.parentResourceId = parentResourceId;
	}

	public String getSystemCode() {
		return systemCode;
	}

	public void setSystemCode(String systemCode) {
		this.systemCode = systemCode;
	}

	public String getResourceCategory() {
		return resourceCategory;
	}

	public void setResourceCategory(String resourceCategory) {
		this.resourceCategory = resourceCategory;
	}

	public String getResourceType() {
		return resourceType;
	}

	public void setResourceType(String resourceType) {
		this.resourceType = resourceType;
	}

	public String getResourceCode() {
		return resourceCode;
	}

	public void setResourceCode(String resourceCode) {
		this.resourceCode = resourceCode;
	}

	public String getResourceName() {
		return resourceName;
	}

	public void setResourceName(String resourceName) {
		this.resourceName = resourceName;
	}

	public String getUrlPath() {
		return urlPath;
	}

	public void setUrlPath(String urlPath) {
		this.urlPath = urlPath;
	}

	public String getIcon() {
		return icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

	public String getLeafFlag() {
		return leafFlag;
	}

	public void setLeafFlag(String leafFlag) {
		this.leafFlag = leafFlag;
	}

	public Integer getOrder() {
		return order;
	}

	public void setOrder(Integer order) {
		this.order = order;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}
}
